package com.sales.dao;


import org.apache.ibatis.annotations.Mapper;
import org.comple.erp.pojo.sales.QuotationDet;
import org.comple.erp.pojo.sales.SalesOrder;
import org.comple.erp.pojo.sales.SalesProduct;

import java.util.List;

/**
* @author 舒尚
* @description 针对表【salesproduct】的数据库操作Mapper
* @createDate 2025-11-03 20:25:02
* @Entity generator.domain.Salesproduct
*/
@Mapper
public interface SalesProductMapper {

    int insertSelective(SalesProduct record);

    SalesProduct selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SalesProduct record);

    List<SalesProduct> selectBySalesProductCode(String code);

    //物理（修改用）
    int deleteByCode(String salesOrder_code);

    //逻辑
    int deleteByCodeLj(String salesOrder_code);
}
